<?php

declare (strict_types=1);
namespace App\ContactMessageBatchSend\Model;

use Base\Model\AbstractModel;
use Hyperf\Database\Model\Concerns\CamelCase;
/**
 * @property int $id
 * @property int $batch_id 客户消息群发id （mc_contact_message_batch_send.id)
 * @property int $employee_id 员工id （mc_work_employee.id)
 * @property int $contact_id 客户表id（work_contact.id）
 * @property string $external_user_id 外部联系人userid
 * @property string $user_id 企业服务人员的userid
 * @property int $send_time 发送时间，发送状态为1时返回
 * @property int $corp_id 企业Id
 * @property string $tenant_id 租户ID
 * @property int $create_user 创建人
 * @property int $create_dept 创建部门
 * @property string $create_time 创建时间
 * @property int $update_user 修改人
 * @property string $update_time 修改时间
 * @property int $status 发送状态 0-未发送 1-已发送 2-因客户不是好友导致发送失败 3-因客户已经收到其他群发消息导致发送失败
 * @property int $is_deleted 是否已删除
 */
class ContactMessageBatchSendResult extends AbstractModel
{
    use CamelCase;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'qxm_contact_message_batch_send_result';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = ['id' => 'integer', 'batch_id' => 'integer', 'employee_id' => 'integer', 'contact_id' => 'integer', 'send_time' => 'integer', 'corp_id' => 'integer', 'create_user' => 'integer', 'create_dept' => 'integer', 'update_user' => 'integer', 'status' => 'integer', 'is_deleted' => 'integer'];
}